Skip to content

Reduce too many operations mock server error - #127

Closed
alinaliBQ wants to merge 1 commit into
apache-odbcfrom
grpc-too-many-op
Closed

Reduce too many operations mock server error#127
alinaliBQ wants to merge 1 commit into
apache-odbcfrom
grpc-too-many-op

Conversation

@alinaliBQ

@alinaliBQ alinaliBQ commented Oct 23, 2025

Copy link
Copy Markdown
  • Confirmed that remote tests that do not require a mock server do not run into the error GRPC_CALL_ERROR_TOO_MANY_OPERATIONS. So this error is caused by the mock server alone.
  • I checked other Arrow code and Wait() call seems indeed what the codebase was missing. Wait call is meant to wait until the server fully shuts down, as Shutdown call only sends the request to shut down the server. Adding server_->Wait() reduces frequency of the error. and brings down the error from occurring around 10 iterations to 40ish iterations. The solution is not perfect, but seems that's what we can do for the time being.

Example:

ASSERT_OK(server->Shutdown());
ASSERT_OK(server->Wait());

@alinaliBQ
alinaliBQ marked this pull request as ready for review October 23, 2025 23:52
@alinaliBQ alinaliBQ closed this Oct 23, 2025
@alinaliBQ alinaliBQ reopened this Oct 23, 2025
@alinaliBQ

Copy link
Copy Markdown
Author

Closing PR as we will include this change inside #128

@alinaliBQ alinaliBQ closed this Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants